package com.slz3.business.module.goodsManagement.gooBrand.service;

import com.slz3.business.module.goodsManagement.gooBrand.domain.GooBrand;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.data.domain.Page;
import org.springframework.util.MultiValueMap;

import java.util.List;
import java.util.Optional;
import java.util.UUID;
import java.util.stream.Stream;

/**
 * 非事务型 service
 */
public interface GooBrandService {

    GooBrand save(GooBrand gooBrand);

    Page<GooBrand> page(MultiValueMap<String,String> queryParams);

    GooBrand modify(GooBrand gooBrand);

    Optional<GooBrand> single(UUID uuid);

    List<GooBrand> findAllByUuids(Iterable<UUID> uuids);

    List<GooBrand> delete(List<GooBrand> gooBrandList);
}
